package com.example.auth.fegin;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import utils.R;

import java.util.Map;

/**
 * @author lilanyu
 * @create 2021-12-21 15:12
 * @Description
 * @Version v1.0
 */

@FeignClient("member")
public interface MemberFeignService {
    @GetMapping("/users/getOne")
    Map<String, Object> getOne(@RequestParam String username);

}
